﻿using Core.DomainServices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Infrastructure.DomainServices
{
    public class DocumentConversion
    {
        private readonly IAppConfig appConfig;

        public DocumentConversion(IAppConfig appConfig)
        {
            this.appConfig = appConfig;
        }

        public void ConvertTo(IList<string> files)
        {
            IList<IDocumentConversion> items = new List<IDocumentConversion>()
            {
                new Excel2Pdf()                
            };

            IList<string> results = new List<string>();
            foreach (var item in items)
            {
                item.ConvertTo(files);
            }
        }
    }
}
